#ifndef _PAH8009_TESTPATTERN_
#define _PAH8009_TESTPATTERN_

#include <stdint.h>
#define NF_PPG_CHANNEL 3
#define NF_PPG_PER_CHANNEL 3
static const uint32_t PAH8112_rawdata_SPO2[][NF_PPG_PER_CHANNEL*NF_PPG_CHANNEL] = 
{
{395929, 154081, 2163},
{410890, 172062, 2288},
{463976, 225244, 2488},
{547183, 282625, 2876},
{634673, 405803, 3401},
{772046, 609432, 4382},
{978258, 848696, 5528},
{988373, 983581, 6776},
{991082, 988527, 8186},
{994959, 991087, 10019},
{1001524, 1003520, 13511},
{1005908, 1004834, 15758},
{1006820, 1006532, 15774},
{1008398, 1008204, 15765},
{1008993, 1008505, 15769},
{1009213, 1008767, 15778},
{1009303, 1008848, 15775},
{1009621, 1009067, 15777},
{1009601, 1009222, 15773},
{1009912, 1009396, 15774},
{1009892, 942578, 15774},
{726203, 802316, 15779},
{724658, 656044, 15771},
{717603, 513440, 15776},
{719229, 514078, 15773},
{727964, 520058, 15773},
{744098, 528497, 15777},
{753340, 532383, 15782},
{757831, 532784, 15773},
{758263, 531834, 15778},
{760315, 532809, 15779},
{760233, 534653, 15773},
{760023, 536826, 15780},
{759035, 538918, 15781},
{759779, 540063, 15776},
{760888, 539176, 15776},
{761134, 538155, 15779},
{760575, 536700, 15771},
{759913, 536876, 15777},
{760571, 538318, 15772},
{761706, 539433, 15776},
{761492, 539011, 15784},
{763160, 540432, 15778},
{764720, 541480, 15779},
{765646, 542485, 15776},
{766573, 543604, 15781},
{768186, 545636, 15767},
{769508, 547021, 15776},
{770853, 548399, 15775},
{772159, 548910, 15783},
{772654, 549303, 15774},
{772687, 548975, 15787},
{773221, 549952, 15775},
{774960, 550798, 15781},
{775559, 550586, 15779},
{775248, 549945, 15775},
{773394, 548961, 15778},
{772672, 548579, 15779},
{773148, 549469, 15777},
{773482, 548836, 15784},
{773656, 549233, 15777},
{773713, 548903, 15769},
{773184, 547766, 15773},
{772919, 547824, 15781},
{773553, 548629, 15772},
{774060, 548615, 15776},
{774537, 549479, 15778},
{775070, 549549, 15772},
{774737, 549397, 15777},
{774926, 549962, 15776},
{774963, 550026, 15769},
{775059, 550153, 15787},
{775167, 550661, 15783},
{775301, 551289, 15775},
{775366, 551587, 15773},
{775044, 551248, 15774},
{773929, 551799, 15775},
{771992, 550450, 15778},
{770348, 549131, 15774},
{770547, 550035, 15773},
{770942, 550296, 15778},
{770654, 549636, 15776},
{770379, 550261, 15780},
{770024, 549965, 15773},
{769231, 548627, 15785},
{769064, 549047, 15781},
{769160, 549350, 15771},
{769158, 549438, 15769},
{768881, 549464, 15777},
{769179, 549648, 15776},
{769039, 548926, 15770},
{768734, 548748, 15773},
{768868, 548984, 15786},
{769496, 550110, 15773},
{769802, 550543, 15775},
{770609, 552115, 15767},
{769218, 550990, 15776},
{767497, 549643, 15774},
{767276, 550173, 15777},
{767736, 551760, 15770},
{769224, 553938, 15778},
{769332, 552315, 15776},
{769356, 552162, 15776},
{769747, 552839, 15778},
{769720, 552278, 15780},
{770083, 553442, 15772},
{770693, 554296, 15771},
{770952, 554160, 15771},
{771296, 554769, 15772},
{772145, 555570, 15782},
{772658, 555959, 15777},
{772934, 555714, 15772},
{772757, 555017, 15772},
{772936, 555599, 15780},
{773827, 556688, 15770},
{774410, 557190, 15776},
{774208, 557080, 15776},
{773123, 557095, 15776},
{773079, 558078, 15773},
{775060, 558654, 15778},
{776257, 559078, 15777},
{775920, 558897, 15771},
{776841, 559949, 15777},
{777384, 559713, 15781},
{776759, 559523, 15776},
{777066, 560038, 15775},
{777726, 560681, 15771},
{777993, 561337, 15775},
{778274, 561992, 15780},
{778507, 562026, 15776},
{778437, 561680, 15782},
{778458, 562642, 15767},
{779184, 563100, 15782},
{779107, 562057, 15775},
{778728, 561823, 15780},
{777816, 560578, 15779},
{776841, 559353, 15778},
{776573, 559389, 15783},
{777802, 560830, 15781},
{779096, 562456, 15774},
{780018, 563636, 15774},
{779980, 562752, 15773},
{779196, 561077, 15778},
{778561, 559886, 15782},
{778657, 560495, 15780},
{779046, 560999, 15775},
{779662, 561966, 15772},
{781165, 563742, 15774},
{781748, 563811, 15780},
{781073, 562417, 15780},
{781760, 564217, 15777},
{782120, 564246, 15775},
{783312, 565789, 15773},
{782059, 564080, 15775},
{780891, 563894, 15780},
{781407, 565626, 15783},
{782257, 565825, 15784},
{782591, 566127, 15779},
{783146, 566842, 15775},
{782778, 566445, 15777},
{783295, 567297, 15770},
{784171, 568321, 15774},
{784279, 567758, 15781},
{784892, 568902, 15775},
{785769, 569413, 15777},
{785506, 568320, 15773},
{784998, 567681, 15776},
{784987, 568025, 15780},
{784425, 566567, 15776},
{783707, 566460, 15778},
{784645, 568544, 15774},
{784512, 567726, 15779},
{782501, 566246, 15775},
{782314, 566911, 15778},
{782674, 567047, 15776},
{782403, 566318, 15779},
{783017, 568153, 15776},
{782623, 567632, 15773},
{782389, 567959, 15775},
{782441, 568057, 15781},
{782336, 567327, 15772},
{782517, 566788, 15779},
{783074, 568033, 15778},
{783180, 567506, 15776},
{783278, 567759, 15777},
{783580, 568379, 15775},
{783832, 568422, 15774},
{783493, 568155, 15773},
{783628, 568738, 15771},
{783100, 569127, 15773},
{781399, 568274, 15776},
{780409, 567630, 15776},
{779842, 567167, 15776},
{780015, 567292, 15779},
{780023, 567277, 15780},
{780098, 568551, 15774},
{779940, 568354, 15774},
{779795, 568512, 15779},
{780262, 568383, 15771},
{780180, 568145, 15776},
{780233, 568377, 15773},
{779997, 567413, 15780},
{779687, 566129, 15780},
{780046, 565548, 15770},
{783243, 565488, 15775},
{784910, 566184, 15777},
{786570, 566880, 15782},
{787656, 566642, 15775},
{787377, 566023, 15770},
{788632, 567218, 15776},
{789763, 568846, 15776},
{792330, 570422, 15773},
{795516, 571704, 15776},
{794243, 571306, 15779},
{794079, 569680, 15781},
{790776, 567528, 15773},
{792596, 569904, 15778},
{793013, 570097, 15772},
{793084, 569780, 15777},
{793404, 570344, 15778},
{794178, 570975, 15775},
{794450, 571121, 15781},
{794425, 570910, 15775},
{794345, 570979, 15779},
{794534, 571165, 15770},
{793433, 569018, 15775},
{787731, 565668, 15771},
{787974, 566509, 15775},
{789047, 567213, 15780},
{789592, 567260, 15774},
{789570, 567407, 15773},
{789770, 567649, 15767},
{790023, 568228, 15778},
{790833, 568878, 15785},
{791522, 569559, 15778},
{791794, 569546, 15779},
{792202, 570007, 15774},
{792559, 570108, 15776},
{792802, 570342, 15775},
{792714, 570043, 15781},
{792204, 569986, 15777},
{792072, 569393, 15783},
{790265, 567860, 15774},
{788749, 567256, 15772},
{788604, 567812, 15782},
{789724, 568868, 15774},
{790798, 569484, 15774},
{791332, 569767, 15777},
{791278, 570317, 15776},
{791665, 570364, 15775},
{791592, 570518, 15771},
{792510, 571125, 15781},
{792466, 570814, 15775},
{791657, 570723, 15769},
{792278, 570653, 15779},
{792106, 570895, 15778},
{792887, 571389, 15769},
{792772, 570987, 15783},
{790559, 569259, 15770},
{789227, 568730, 15779},
{789947, 569952, 15780},
{791208, 570182, 15782},
{791193, 570301, 15765},
{791716, 570967, 15778},
{791249, 570030, 15775},
{790770, 569940, 15776},
{791079, 570837, 15777},
{791796, 571347, 15771},
{791764, 571261, 15772},
{792160, 571986, 15779},
{792503, 571837, 15781},
{792171, 571569, 15775},
{792733, 572539, 15778},
{793369, 572920, 15774},
{793447, 572850, 15777},
{792354, 571228, 15776},
{790391, 570990, 15774},
{791153, 571771, 15767},
{792001, 572186, 15780},
{792215, 572541, 15773},
{792400, 572652, 15777},
{792228, 572207, 15781},
{791828, 572111, 15778},
{791725, 572328, 15772},
{791736, 572352, 15773},
{792561, 572815, 15778},
{792576, 572890, 15778},
{792667, 572813, 15776},
{792562, 572459, 15777},
{792528, 572881, 15775},
{792769, 572146, 15780},
{790818, 571075, 15781},
{789987, 571051, 15776},
{790346, 571439, 15778},
{790543, 571398, 15767},
{790204, 571481, 15774},
{790189, 572264, 15777},
{790812, 572191, 15778},
{790748, 572087, 15765},
{790721, 572182, 15776},
{791202, 572291, 15768},
{791537, 572984, 15779},
{791761, 573021, 15775},
{792083, 573195, 15768},
{792421, 573538, 15770},
{792978, 574024, 15777},
{793468, 574198, 15770},
{793308, 574351, 15775},
{792701, 572925, 15772},
{790480, 571506, 15777},
{790103, 572029, 15784},
{790787, 572143, 15777},
{791075, 572964, 15773},
{791887, 573370, 15771},
{791728, 572862, 15774},
{791263, 572724, 15779},
{791077, 572563, 15774},
{791503, 573241, 15778},
{791980, 573405, 15781},
{792036, 573150, 15775},
{792274, 573676, 15781},
{792347, 573375, 15776},
{792217, 573757, 15780},
{791107, 571916, 15776},
{790299, 571754, 15777},
{790839, 571862, 15773},
{792714, 574612, 15777},
{792565, 573254, 15775},
{791355, 573116, 15783},
{791770, 573585, 15780},
{792503, 574044, 15776},
{792863, 574190, 15777},
{793314, 574860, 15775},
{793333, 575139, 15771},
{793190, 575110, 15775},
{793404, 575313, 15777},
{793715, 575582, 15774},
{793956, 575286, 15774},
{794428, 576168, 15777},
{795224, 576900, 15773},
{795157, 575917, 15778},
{795097, 576266, 15780},
{795551, 576390, 15769},
{795223, 575967, 15779},
{795637, 575931, 15777},
{793590, 574095, 15773},
{791863, 573303, 15778},
{792671, 574907, 15782},
{793748, 574916, 15778},
{794007, 574656, 15772},
{794113, 575287, 15771},
{794380, 574808, 15781},
{793787, 574780, 15776},
{794070, 575899, 15780},
{794498, 576006, 15779},
{794863, 575515, 15772},
{795163, 576602, 15772},
{795758, 576619, 15773},
{795695, 576367, 15778},
{795953, 576786, 15782},
{796118, 577142, 15777},
{796455, 576980, 15777},
{796746, 577274, 15781},
{796405, 577003, 15776},
{795104, 575732, 15778},
{794413, 575568, 15771},
{794917, 576120, 15775},
{795565, 576819, 15775},
{795999, 576829, 15780},
{796232, 577160, 15779},
{795990, 576862, 15776},
{795773, 576791, 15774},
{795889, 577204, 15776},
{796417, 577514, 15771},
{796537, 577193, 15778},
{796774, 577370, 15779},
{797171, 577794, 15781},
{797462, 577787, 15778},
{797439, 577514, 15779},
{797319, 577867, 15778},
{797784, 578075, 15773},
{797976, 577799, 15778},
{796414, 576380, 15772},
{794872, 575920, 15773},
{794868, 575865, 15773},
{795528, 576628, 15773},
{796129, 576920, 15776},
{796243, 576724, 15774},
{795866, 576593, 15776},
{795848, 576586, 15775},
{795657, 576656, 15778},
{796121, 577095, 15781},
{796889, 577898, 15775},
{797891, 578392, 15774},
{798655, 579122, 15780},
{799283, 579669, 15786},
{799662, 579969, 15778},
{800086, 580741, 15773},
{800655, 581438, 15778},
{800965, 581337, 15773},
{800807, 580962, 15772},
{798174, 579890, 15771},
{799645, 581383, 15776},
{800749, 582241, 15781},
{801204, 582264, 15777},
{801578, 582549, 15775},
{802001, 583244, 15771},
{802018, 583210, 15781},
{802199, 583843, 15781},
{802722, 583827, 15775},
{803081, 584502, 15772},
{804862, 586009, 15783},
{804829, 586121, 15780},
{805037, 585893, 15775},
{805331, 586409, 15778},
{805970, 586801, 15775},
{806446, 587265, 15774},
{806794, 587541, 15777},
{805390, 585647, 15780},
{803550, 584910, 15776},
{804162, 585686, 15776},
{804918, 585191, 15776},
{804961, 586295, 15770},
{805185, 585896, 15783},
{804857, 585892, 15775},
{805008, 586490, 15777},
{805600, 586462, 15777},
{805629, 586893, 15774},
{806265, 587549, 15774},
{806905, 587702, 15769},
{806194, 586994, 15773},
{806124, 587624, 15779},
{807091, 588100, 15779},
{806957, 587217, 15778},
{805181, 585773, 15775},
{803949, 585790, 15783},
{803855, 585635, 15775},
{804795, 586871, 15778},
{805895, 587378, 15780},
{805720, 586958, 15776},
{805529, 587108, 15772},
{805747, 587634, 15776},
{805931, 587919, 15778},
{806244, 588154, 15773},
{806637, 588401, 15773},
{806764, 588397, 15773},
{807281, 588550, 15774},
{807223, 588347, 15776},
{807432, 589107, 15780},
{807878, 589038, 15775},
{807737, 589437, 15776},
{807318, 587966, 15779},
{805136, 587080, 15776},
{805204, 587232, 15777},
{806197, 587871, 15773},
{806531, 587986, 15776},
{806416, 587500, 15778},
{806093, 587466, 15778},
{805543, 586941, 15773},
{804864, 586592, 15776},
{804511, 586323, 15777},
{805427, 587197, 15783},
{805295, 586783, 15769},
{805630, 586904, 15777},
{805913, 587216, 15785},
{805085, 586910, 15778},
{805722, 587554, 15772},
{806105, 587455, 15769},
{805358, 586185, 15777},
{803339, 585119, 15775},
{802789, 585435, 15776},
{803452, 585983, 15779},
{804024, 586209, 15778},
{804049, 586612, 15782},
{805266, 587778, 15776},
{805570, 587815, 15778},
{807420, 590422, 15776},
{807871, 590170, 15775},
{807965, 590756, 15777},
{808250, 590954, 15767},
{808915, 591626, 15775},
{808766, 590896, 15775},
{808165, 591056, 15771},
{809197, 591717, 15774},
{808855, 591434, 15779},
{808715, 591121, 15773},
{807211, 589146, 15784},
{805427, 588909, 15774},
{805951, 589351, 15774},
{806400, 589799, 15774},
{806931, 590042, 15771},
{807049, 590235, 15774},
{807321, 590816, 15776},
{807762, 591105, 15777},
{808188, 591949, 15773},
{808524, 592162, 15774},
{809267, 592647, 15774},
{809687, 593454, 15774},
{810729, 593303, 15776},
{809804, 592751, 15777},
{810326, 592970, 15774},
{811136, 593920, 15780},
{810854, 593183, 15779},
{809664, 591898, 15780},
{807470, 590397, 15780},
{806248, 589809, 15773},
{806631, 590675, 15777},
{807834, 590933, 15774},
{807901, 590868, 15776},
{808012, 591138, 15779},
{807627, 590663, 15776},
{807373, 590742, 15783},
{807868, 591427, 15774},
{808246, 591649, 15777},
{808500, 591564, 15772},
{808814, 592376, 15774},
{812653, 597060, 15770},
{813561, 597374, 15779},
{814872, 600575, 15773},
{818144, 604800, 15773},
{820855, 608791, 15774},
{823627, 611600, 15768},
{821977, 610381, 15773},
{822032, 611837, 15778},
{822979, 613646, 15782},
{823902, 613996, 15775},
{823631, 613907, 15780},
{823307, 613131, 15780},
{822928, 612923, 15775},
{822917, 613135, 15769},
{823514, 614328, 15777},
{824088, 613988, 15783},
{823202, 613783, 15768},
{823683, 614262, 15778},
{823867, 614447, 15777},
{823808, 614062, 15773},
{823646, 614061, 15772},
{823221, 612837, 15777},
{816685, 606535, 15774},
{816533, 607057, 15781},
{817423, 607945, 15772},
{817327, 607664, 15773},
{817836, 608374, 15768},
{817747, 608099, 15779},
{817942, 609275, 15782},
{819199, 610874, 15771},
{819750, 610979, 15784},
{820263, 612028, 15776},
{821201, 612739, 15778},
{821330, 612806, 15779},
{821324, 612576, 15781},
{821276, 612503, 15772},
{821196, 612189, 15777},
{820592, 611269, 15778},
{818813, 609159, 15777},
{816437, 608450, 15774},
{817313, 609690, 15779},
{817426, 608612, 15777},
{816701, 608289, 15778},
{817109, 608397, 15776},
{817368, 607807, 15770},
{817075, 608405, 15774},
{817482, 608798, 15777},
{817396, 608204, 15778},
{817397, 608327, 15774},
{817927, 608961, 15778},
{817615, 608002, 15777},
{817171, 607875, 15784},
{817802, 609367, 15774},
{818344, 609240, 15779},
{818147, 608596, 15780},
{818181, 609057, 15777},
{816574, 607207, 15779},
{815069, 607506, 15781},
{816446, 608367, 15779},
{816483, 608389, 15780},
{817825, 609269, 15778},
{817371, 608940, 15780},
{817996, 610376, 15777},
{818599, 610416, 15776},
{818992, 610274, 15769},
{818725, 610467, 15773},
{819316, 610224, 15782},
{818684, 609292, 15772},
{819758, 611666, 15777},
{820781, 611525, 15776},
{819690, 609880, 15777},
{819132, 609523, 15781},
{817284, 607285, 15773},
{815595, 606584, 15778},
{816136, 607361, 15778},
{816760, 607927, 15778},
{818031, 609314, 15772},
{818501, 609333, 15778},
{818212, 609361, 15771},
{817841, 608775, 15767},
{817488, 608646, 15776},
{818507, 609461, 15777},
{818969, 608925, 15776},
{818519, 607868, 15775},
{818683, 608608, 15770},
{818190, 607481, 15774},
{817297, 607356, 15777},
{817936, 608298, 15770},
{817857, 607216, 15773},
{816811, 606440, 15782},
{815360, 605664, 15773},
{815021, 606299, 15773},
{815800, 606924, 15774},
{816666, 608438, 15781},
{817758, 609134, 15777},
{817578, 608824, 15773},
{817134, 608499, 15773},
{817253, 609123, 15779},
{817477, 608831, 15774},
{817648, 609477, 15773},
{817934, 609104, 15782},
{817965, 608890, 15770},
{817750, 608546, 15775},
{817624, 607822, 15777},
{817866, 608326, 15772},
{818830, 608568, 15773},
{819002, 606896, 15774},
{816804, 605297, 15773},
{815882, 605935, 15775},
{816554, 607099, 15777},
{817873, 606873, 15768},
{818018, 607558, 15779},
{818034, 607434, 15779},
{817332, 607000, 15778},
{818345, 608867, 15774},
{819116, 607439, 15782},
{822450, 613008, 15771},
{823227, 613902, 15776},
{823863, 614246, 15773},
{823843, 614817, 15778},
{825319, 616600, 15777},
{825427, 615329, 15776},
{822895, 613932, 15778},
{822152, 614570, 15778},
{822932, 615547, 15775},
{824678, 617091, 15767},
{825361, 617117, 15784},
{825406, 617688, 15776},
{826361, 618450, 15774},
{825666, 617627, 15779},
{825661, 618254, 15775},
{826522, 619406, 15780},
{827090, 619632, 15772},
{827134, 619684, 15769},
{827629, 620621, 15774},
{828785, 621352, 15775},
{828854, 621376, 15779},
{827651, 619503, 15771},
{825187, 618185, 15763},
{824824, 618648, 15776},
{825829, 620156, 15774},
{826906, 620042, 15775},
{826233, 619666, 15773},
{825908, 619836, 15782},
{825996, 619160, 15782},
{825392, 618970, 15770},
{825736, 619054, 15771},
{825816, 618874, 15776},
{826080, 618911, 15778},
{826125, 619696, 15775},
{826373, 619220, 15771},
{826260, 619357, 15777},
{825971, 618490, 15776},
{823591, 616339, 15773},
{821800, 615880, 15776},
{822520, 616976, 15778},
{823757, 617959, 15772},
{824382, 618250, 15776},
{824471, 618789, 15774},
{824486, 618299, 15782},
{825033, 618918, 15776},
{825236, 619140, 15773},
{826190, 620267, 15776},
{826362, 619902, 15770},
{826132, 619946, 15772},
{826842, 620931, 15769},
{827714, 621291, 15777},
{826298, 618602, 15774},
{822923, 616891, 15771},
{823047, 617671, 15778},
{823437, 617456, 15771},
{823090, 620908, 15777},
{827800, 624163, 15771},
{828541, 623310, 15780},
{826680, 621939, 15781},
{826589, 623174, 15777},
{828142, 624190, 15780},
{828432, 624495, 15774},
{828730, 624663, 15779},
{829532, 626373, 15776},
{830380, 625771, 15779},
{830033, 626130, 15779},
{830847, 626661, 15775},
{830591, 626224, 15778},
{829764, 625224, 15774},
{828423, 627056, 15779},
{830673, 628541, 15773},
{831864, 629821, 15772},
{832660, 631051, 15781},
{833355, 631752, 15778},
{833199, 631259, 15777},
{832733, 631483, 15775},
{833561, 632434, 15779},
{833845, 631524, 15777},
{833509, 631657, 15778},
{834059, 632265, 15771},
{834075, 631991, 15771},
{834342, 632700, 15777},
{834914, 632918, 15780},
{834819, 632909, 15772},
{832984, 630258, 15777},
{830663, 629857, 15772},
{831139, 631137, 15776},
{832140, 631797, 15773},
{832384, 631831, 15779},
{832899, 632258, 15777},
{832976, 632543, 15776},
{832711, 632589, 15773},
{833925, 633796, 15776},
{834427, 633976, 15776},
{835692, 635158, 15777},
{835962, 636024, 15774},
{836325, 635776, 15782},
{836272, 635651, 15777},
{836283, 636564, 15772},
{836719, 635886, 15783},
{833886, 633503, 15776},
{832003, 633269, 15781},
{832765, 634435, 15773},
{833798, 635034, 15778},
{834221, 634868, 15770},
{834204, 635217, 15780},
{834313, 635357, 15783},
{834443, 635587, 15777},
{834476, 635792, 15775},
{835006, 636506, 15781},
{835529, 636180, 15774},
{835118, 636398, 15772},
{835984, 636822, 15778},
{835767, 636020, 15777},
{835303, 636379, 15772},
{836373, 637940, 15774},
{836884, 637382, 15773},
{835627, 635570, 15775},
{833340, 633559, 15778},
{831147, 633020, 15780},
{831720, 633863, 15774},
{834312, 637661, 15779},
{836549, 638201, 15778},
{835464, 637383, 15776},
{835467, 638166, 15776},
{836332, 637511, 15771},
{835434, 638040, 15774},
{838032, 641296, 15778},
{839190, 642748, 15776},
{839984, 642840, 15777},
{839864, 643214, 15772},
{840955, 644012, 15769},
{840610, 643514, 15774},
{836842, 639717, 15781},
{835483, 640120, 15775},
{835769, 639742, 15776},
{835395, 639538, 15770},
{836185, 640371, 15771},
{835793, 638392, 15776},
{834712, 638771, 15782},
{835304, 639094, 15779},
{834774, 638343, 15773},
{834696, 639256, 15776},
{836278, 640399, 15771},
{835873, 639638, 15779},
{836282, 640354, 15770},
{836850, 640494, 15776},
{836603, 639737, 15776},
{835913, 639280, 15768},
{835884, 638300, 15772},
{832411, 634643, 15774},
{830377, 634932, 15768},
{831827, 636714, 15782},
{832923, 635976, 15780},
{831997, 635238, 15781},
{832368, 636442, 15770},
{832971, 636540, 15775},
{832755, 636797, 15773},
{833289, 637521, 15772},
{833702, 638296, 15769},
{834153, 638013, 15777},
{834211, 639029, 15780},
{835504, 640170, 15768},
{835907, 640114, 15775},
{835340, 639688, 15777},
{835947, 641024, 15776},
{837392, 641957, 15776},
{836698, 639894, 15773},
{833362, 638080, 15776},
{833671, 638996, 15771},
{834194, 640135, 15777},
{835263, 641048, 15779},
{836002, 641491, 15771},
{835907, 641334, 15778},
{835456, 641333, 15776},
{836088, 642114, 15776},
{837131, 642520, 15779},
{837037, 642625, 15781},
{837467, 643196, 15777},
{838126, 643396, 15781},
{838721, 643310, 15771},
{839003, 644581, 15778},
{839950, 644172, 15777},
{839035, 642062, 15779},
{836628, 638858, 15780},
{833957, 638521, 15776},
{834258, 638848, 15776},
{835103, 639925, 15779},
{836188, 641435, 15776},
{837673, 643481, 15778},
{838698, 643253, 15775},
{837179, 642825, 15772},
{838098, 644013, 15778},
{838515, 643614, 15779},
{838965, 643896, 15774},
{839574, 644787, 15778},
{839191, 643593, 15776},
{838719, 644007, 15772},
{839485, 645169, 15776},
{839941, 645038, 15777},
{839528, 644379, 15779},
{836806, 641397, 15774},
{833961, 640255, 15779},
{834825, 641517, 15775},
{835477, 641724, 15779},
{836084, 642353, 15772},
{836689, 642871, 15773},
{837132, 642718, 15776},
{836530, 643321, 15778},
{837737, 644396, 15779},
{838060, 644618, 15777},
{838712, 645783, 15772},
{839462, 645596, 15770},
{838809, 643965, 15779},
{837695, 642766, 15776},
{835974, 641313, 15776},
{836202, 642011, 15775},
{836335, 642067, 15771},
{834956, 640385, 15774},
{831806, 637902, 15774},
{832298, 638556, 15773},	
};
static const int16_t PAH8112_mems_SPO2[][3*NF_PPG_PER_CHANNEL] = 
{
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
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},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0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 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
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},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
{0, 0, 0},
};
static const uint32_t duration_SPO2[] = 
{
50,
48,
27,
38,
37,
50,
38,
39,
38,
39,
38,
39,
39,
39,
39,
39,
39,
40,
39,
39,
39,
39,
38,
48,
36,
42,
36,
36,
36,
48,
37,
36,
48,
36,
36,
37,
48,
36,
36,
36,
48,
37,
36,
36,
48,
36,
37,
36,
48,
36,
66,
24,
25,
48,
36,
36,
36,
48,
37,
36,
36,
48,
36,
37,
36,
48,
36,
36,
37,
48,
36,
36,
36,
48,
37,
65,
24,
25,
48,
36,
36,
36,
48,
37,
36,
36,
48,
36,
37,
36,
48,
36,
36,
37,
48,
36,
36,
36,
48,
37,
66,
24,
25,
36,
48,
37,
36,
36,
48,
37,
36,
37,
48,
36,
36,
37,
48,
36,
37,
36,
48,
37,
36,
36,
48,
66,
48,
37,
36,
48,
37,
36,
36,
48,
37,
36,
36,
49,
36,
36,
37,
48,
36,
36,
37,
48,
36,
37,
36,
48,
66,
48,
37,
36,
48,
37,
36,
36,
48,
37,
36,
37,
48,
36,
36,
37,
48,
36,
37,
36,
48,
37,
36,
36,
49,
65,
49,
36,
37,
48,
36,
36,
37,
48,
36,
37,
36,
48,
37,
36,
36,
48,
37,
36,
37,
83,
37,
36,
48,
37,
65,
49,
36,
48,
37,
36,
36,
38,
50,
37,
38,
37,
38,
38,
37,
38,
49,
38,
38,
37,
38,
38,
37,
50,
38,
66,
50,
37,
38,
38,
37,
38,
50,
37,
38,
37,
38,
38,
37,
85,
38,
38,
37,
38,
37,
50,
38,
37,
38,
38,
66,
50,
38,
84,
38,
38,
37,
38,
84,
38,
37,
38,
37,
49,
38,
37,
37,
38,
38,
37,
50,
37,
38,
37,
38,
66,
50,
37,
50,
37,
38,
37,
38,
38,
37,
85,
38,
37,
38,
37,
85,
38,
37,
38,
38,
37,
50,
37,
38,
37,
67,
50,
37,
38,
49,
38,
37,
38,
37,
38,
38,
37,
50,
37,
38,
37,
38,
37,
38,
49,
38,
38,
37,
38,
37,
67,
26,
26,
37,
38,
49,
38,
37,
38,
37,
38,
37,
50,
37,
38,
38,
37,
38,
37,
85,
38,
37,
38,
37,
38,
66,
26,
26,
49,
38,
37,
38,
38,
37,
38,
38,
49,
38,
37,
38,
38,
38,
37,
38,
50,
37,
38,
37,
38,
38,
67,
26,
25,
38,
38,
37,
50,
38,
37,
38,
38,
37,
38,
38,
49,
38,
38,
37,
38,
38,
37,
38,
50,
37,
38,
67,
50,
37,
38,
37,
38,
50,
37,
38,
38,
37,
38,
38,
37,
50,
38,
37,
38,
38,
37,
38,
38,
85,
37,
38,
68,
50,
37,
38,
38,
49,
38,
37,
38,
38,
38,
37,
38,
49,
38,
38,
37,
38,
38,
38,
38,
37,
50,
38,
37,
69,
49,
38,
38,
37,
38,
38,
49,
38,
37,
38,
38,
37,
38,
38,
85,
37,
38,
38,
38,
37,
50,
38,
37,
38,
68,
50,
37,
38,
38,
38,
37,
50,
38,
37,
38,
38,
37,
38,
38,
49,
38,
38,
37,
38,
38,
37,
38,
49,
38,
68,
50,
38,
37,
38,
38,
37,
38,
38,
49,
38,
37,
38,
38,
37,
38,
49,
37,
38,
37,
37,
38,
37,
85,
38,
68,
49,
38,
37,
38,
37,
50,
37,
38,
37,
38,
38,
37,
85,
38,
37,
38,
37,
38,
49,
38,
37,
38,
38,
37,
68,
50,
38,
37,
50,
37,
38,
37,
38,
37,
38,
37,
50,
38,
37,
38,
37,
38,
37,
38,
50,
37,
38,
37,
38,
68,
49,
38,
37,
85,
38,
37,
38,
38,
37,
49,
38,
38,
37,
38,
37,
38,
37,
50,
37,
38,
37,
38,
37,
38,
68,
26,
25,
38,
37,
50,
37,
38,
37,
38,
37,
38,
49,
38,
38,
38,
37,
38,
38,
38,
37,
50,
37,
38,
38,
67,
50,
38,
37,
38,
38,
85,
38,
37,
38,
38,
38,
37,
50,
37,
38,
38,
37,
38,
38,
37,
50,
38,
37,
38,
67,
50,
38,
37,
38,
38,
85,
38,
37,
38,
38,
38,
37,
50,
38,
38,
38,
37,
38,
37,
38,
85,
38,
38,
37,
68,
49,
38,
38,
49,
38,
38,
37,
38,
38,
37,
38,
38,
49,
38,
37,
38,
38,
37,
38,
38,
50,
37,
38,
38,
68,
49,
38,
38,
37,
38,
38,
49,
38,
38,
37,
38,
38,
37,
38,
50,
37,
38,
38,
37,
38,
38,
37,
85,
38,
68,
50,
37,
38,
38,
37,
38,
50,
37,
38,
38,
37,
38,
38,
37,
50,
37,
38,
38,
38,
37,
38,
38,
37,
50,
68,
49,
38,
38,
37,
38,
38,
38,
37,
85,
38,
38,
38,
37,
38,
85,
38,
37,
38,
37,
38,
49,
38,
37,
37,
68,
49,
38,
37,
38,
49,
38,
38,
37,
38,
37,
38,
38,
49,
37,
38,
37,
38,
38,
37,
38,
49,
37,
38,
38,
68,
49,
38,
38,
37,
38,
49,
38,
37,
38,
37,
38,
38,
37,
49,
38,
38,
37,
38,
37,
38,
38,
49,
38,
37,
68,
50,
37,
38,
38,
37,
38,
49,
38,
37,
38,
37,
38,
38,
37,
50,
37,
38,
37,
38,
38,
37,
85,
38,
37,
68,
50,
37,
};
static const uint32_t frame_SPO2[] =
{	
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255,
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255,
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
125,
126,
127,
128,
129,
130,
131,
132,
133,
134,
135,
136,
137,
138,
139,
140,
141,
142,
143,
144,
145,
146,
147,
148,
149,
150,
151,
152,
153,
154,
155,
156,
157,
158,
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
189,
190,
191,
192,
193,
194,
195,
196,
197,
198,
199,
200,
201,
202,
203,
204,
205,
206,
207,
208,
209,
210,
211,
212,
213,
214,
215,
216,
217,
218,
219,
220,
221,
222,
223,
224,
225,
226,
227,
228,
229,
230,
231,
232,
233,
234,
235,
236,
237,
238,
239,
240,
241,
242,
243,
244,
245,
246,
247,
248,
249,
250,
251,
252,
253,
254,
255,
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
};

static const uint8_t touch_SPO2[] = 
{
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,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 64, 32},
{68, 72, 32},
{72, 72, 32},
{72, 80, 32},
{72, 84, 32},
{72, 84, 32},
{64, 80, 32},
{64, 76, 32},
{56, 72, 32},
{56, 68, 32},
{48, 64, 32},
{48, 60, 32},
{40, 56, 32},
{40, 52, 32},
{32, 48, 32},
{32, 44, 32},
{24, 40, 32},
{24, 36, 32},
{16, 32, 32},
{16, 28, 32},
{10, 24, 32},
{10, 20, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
{10, 16, 32},
};


static const uint8_t over_flow[] = 
{
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
1,
0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